package com.J.Plane;

import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.view.WindowManager;


public class PlaneActivity extends Activity {
    /** Brian's Trial for rotation with touch input test */
	private static final String LOG_TAG = PlaneActivity.class.getSimpleName();
	
	/** The openGL View*/
	private PlaneActivityView glSurface;
	
	/**
	 *  Initiate the OpenGL View and set our own Renderer
	 */
	
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		glSurface = new PlaneActivityView(this);
		setContentView(glSurface);
	}
	
	protected void onResume(){
		super.onResume();
		glSurface.onResume();
	}
	
	protected void onPasuse(){
		super.onPause();
		glSurface.onPause();
	}
	
	
	/**
	private GLSurfaceView mGLView;
    /** Called when the activity is first created. 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        mGLView = new GLSurfaceView(this);
        mGLView.setEGLConfigChooser(false);
        mGLView.setRenderer(new PlaneRenderer(this));
        setContentView(mGLView);
    }
    

    @Override
    protected void onPause() {
        super.onPause();
        mGLView.onPause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mGLView.onResume();
    }
	*/

}